<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/27
 * Time: 11:01
 */

class  Server
{
    public function get()
    {
        return __METHOD__;
    }

    public function add()
    {
        return __METHOD__;
    }

    public function update()
    {
        return __METHOD__;
    }

    public function delete()
    {
        return __METHOD__;
    }
}

$server = new Yar_Server(new Server());
$server->handle();